home *** CD-ROM | disk | FTP | other *** search
/ Champak 52 / Volume 52 - JOGO DISK .iso / Games / scoobysnackmachine.swf / scripts / __Packages / Library / Utils / Debug.as next >
Encoding:
Text File  |  2007-10-01  |  5.5 KB  |  172 lines

  1. var ┬º\x01┬º = 437;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 437)
  5.    {
  6.       set("\x01",eval("\x01") - 81);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else
  10.    {
  11.       if(eval("\x01") == 894)
  12.       {
  13.          set("\x01",eval("\x01") - 849);
  14.          break;
  15.       }
  16.       if(eval("\x01") == 356)
  17.       {
  18.          set("\x01",eval("\x01") + 538);
  19.          if(┬º┬ºpop())
  20.          {
  21.             set("\x01",eval("\x01") - 849);
  22.          }
  23.       }
  24.       else if(eval("\x01") == 45)
  25.       {
  26.          set("\x01",eval("\x01") + 490);
  27.       }
  28.       else if(eval("\x01") == 996)
  29.       {
  30.          set("\x01",eval("\x01") - 461);
  31.       }
  32.       else
  33.       {
  34.          if(eval("\x01") != 535)
  35.          {
  36.             if(eval("\x01") == 361)
  37.             {
  38.                set("\x01",eval("\x01") + 84);
  39.                if(!_global.Library)
  40.                {
  41.                   _global.Library = new Object();
  42.                }
  43.                ┬º┬ºpop();
  44.                if(!_global.Library.Utils)
  45.                {
  46.                   _global.Library.Utils = new Object();
  47.                }
  48.                ┬º┬ºpop();
  49.                if(!_global.Library.Utils.Debug)
  50.                {
  51.                   var _loc2_ = Library.Utils.Debug = function()
  52.                   {
  53.                   }.prototype;
  54.                   Library.Utils.Debug = function()
  55.                   {
  56.                   }.clear = function()
  57.                   {
  58.                      Library.Utils.Debug.lc = new LocalConnection();
  59.                      Library.Utils.Debug.lc.send("trace","clear");
  60.                   };
  61.                   Library.Utils.Debug = function()
  62.                   {
  63.                   }.setLevel = function(pLvl)
  64.                   {
  65.                      Library.Utils.Debug.level = pLvl;
  66.                   };
  67.                   Library.Utils.Debug = function()
  68.                   {
  69.                   }.trace = function(pMsg, pLvl)
  70.                   {
  71.                      var _loc1_ = undefined;
  72.                      if(pLvl != undefined)
  73.                      {
  74.                         _loc1_ = pLvl;
  75.                      }
  76.                      else
  77.                      {
  78.                         _loc1_ = Library.Utils.Debug.level;
  79.                      }
  80.                      Library.Utils.Debug.lc = new LocalConnection();
  81.                      Library.Utils.Debug.lc.send("trace","trace",pMsg,_loc1_);
  82.                   };
  83.                   Library.Utils.Debug = function()
  84.                   {
  85.                   }.traceObject = function(o, pRecurseDepth, pLvl, pIndent)
  86.                   {
  87.                      var _loc7_ = undefined;
  88.                      var _loc5_ = undefined;
  89.                      var _loc6_ = undefined;
  90.                      if(pLvl != undefined)
  91.                      {
  92.                         _loc6_ = pLvl;
  93.                      }
  94.                      else
  95.                      {
  96.                         _loc6_ = Library.Utils.Debug.level;
  97.                      }
  98.                      if(pRecurseDepth == undefined)
  99.                      {
  100.                         _loc7_ = 0;
  101.                      }
  102.                      else
  103.                      {
  104.                         _loc7_ = pRecurseDepth;
  105.                      }
  106.                      if(pIndent == undefined)
  107.                      {
  108.                         _loc5_ = 0;
  109.                      }
  110.                      else
  111.                      {
  112.                         _loc5_ = pIndent;
  113.                      }
  114.                      for(var _loc8_ in o)
  115.                      {
  116.                         var _loc3_ = "";
  117.                         var _loc1_ = 0;
  118.                         while(_loc1_ < _loc5_)
  119.                         {
  120.                            _loc3_ += "    ";
  121.                            _loc1_ = _loc1_ + 1;
  122.                         }
  123.                         var _loc2_ = o[_loc8_].toString();
  124.                         if(o[_loc8_] instanceof Array)
  125.                         {
  126.                            _loc2_ = "[Array]";
  127.                         }
  128.                         if(_loc2_ == "[object Object]")
  129.                         {
  130.                            _loc2_ = "[Object]";
  131.                         }
  132.                         Library.Utils.Debug.trace(_loc3_ + _loc8_ + ": " + _loc2_,_loc6_);
  133.                         if(_loc7_ > 0)
  134.                         {
  135.                            Library.Utils.Debug.traceObject(o[_loc8_],_loc7_ - 1,_loc6_,_loc5_ + 1);
  136.                         }
  137.                      }
  138.                   };
  139.                   Library.Utils.Debug = function()
  140.                   {
  141.                   }.level = 0;
  142.                   Library.Utils.Debug = function()
  143.                   {
  144.                   }.DEBUG = 0;
  145.                   Library.Utils.Debug = function()
  146.                   {
  147.                   }.INFO = 1;
  148.                   Library.Utils.Debug = function()
  149.                   {
  150.                   }.WARN = 2;
  151.                   Library.Utils.Debug = function()
  152.                   {
  153.                   }.ERROR = 3;
  154.                   Library.Utils.Debug = function()
  155.                   {
  156.                   }.FATAL = 4;
  157.                   ┬º┬ºpush(ASSetPropFlags(Library.Utils.Debug.prototype,null,1));
  158.                }
  159.                ┬º┬ºpop();
  160.                break;
  161.             }
  162.             if(eval("\x01") == 445)
  163.             {
  164.                set("\x01",eval("\x01") - 445);
  165.             }
  166.             break;
  167.          }
  168.          set("\x01",eval("\x01") - 174);
  169.       }
  170.    }
  171. }
  172.